home *** CD-ROM | disk | FTP | other *** search
Text File | 2001-03-26 | 8.2 KB | 173 lines | [TEXT/CWIE] |
- /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
- *
- * The contents of this file are subject to the Netscape Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998 Netscape Communications Corporation. All
- * Rights Reserved.
- *
- * Contributor(s):
- */
-
- // Mac specific preference defaults
- platform.mac = true;
-
- pref("browser.drag_out_of_frame_style", 1);
- pref("ui.key.saveLink.shift", false); // true = shift, false = meta
-
- pref("editor.use_html_editor", false);
- pref("editor.use_image_editor", false);
-
- pref("mail.notification.sound", "");
- pref("mail.close_message_window.on_delete", true);
- pref("mail.close_message_window.on_file", true);
-
- pref("mail.server_type_on_restart", -1);
-
- // default font name (in UTF8)
-
- pref("font.name.serif.ar", "ثلث‮ ‬أبيض");
- pref("font.name.sans-serif.ar", "البيان");
- pref("font.name.monospace.ar", "جيزة");
- pref("font.name.cursive.ar", "XXX.cursive");
- pref("font.name.fantasy.ar", "XXX.fantasy");
-
- pref("font.name.serif.el", "Times GR");
- pref("font.name.sans-serif.el", "Helvetica GR");
- pref("font.name.monospace.el", "Courier GR");
- pref("font.name.cursive.el", "XXX.cursive");
- pref("font.name.fantasy.el", "XXX.fantasy");
-
- pref("font.name.serif.he", "פנינים‮ ‬חדש");
- pref("font.name.sans-serif.he", "אריאל");
- pref("font.name.monospace.he", "אריאל");
- pref("font.name.cursive.he", "XXX.cursive");
- pref("font.name.fantasy.he", "XXX.fantasy");
-
- pref("font.name.serif.ja", "本明朝−M");
- pref("font.name.sans-serif.ja", "丸ゴシック−M");
- pref("font.name.monospace.ja", "Osaka−等幅");
- pref("font.name.cursive.ja", "XXX.cursive");
- pref("font.name.fantasy.ja", "XXX.fantasy");
-
- pref("font.name.serif.ko", "AppleMyungjo");
- pref("font.name.sans-serif.ko", "AppleGothic");
- pref("font.name.monospace.ko", "AppleGothic");
- pref("font.name.cursive.ko", "XXX.cursive");
- pref("font.name.fantasy.ko", "XXX.fantasy");
-
- pref("font.name.serif.th", "Thonburi");
- pref("font.name.sans-serif.th", "Krungthep");
- pref("font.name.monospace.th", "Ayuthaya");
- pref("font.name.cursive.th", "XXX.cursive");
- pref("font.name.fantasy.th", "XXX.fantasy");
-
- pref("font.name.serif.tr", "Times");
- pref("font.name.sans-serif.tr", "Arial");
- pref("font.name.monospace.tr", "CourierR");
- pref("font.name.cursive.tr", "XXX.cursive");
- pref("font.name.fantasy.tr", "XXX.fantasy");
-
- pref("font.name.serif.x-baltic", "Times CE");
- pref("font.name.sans-serif.x-baltic", "Helvetica CE");
- pref("font.name.monospace.x-baltic", "Courier CE");
- pref("font.name.cursive.x-baltic", "XXX.cursive");
- pref("font.name.fantasy.x-baltic", "XXX.fantasy");
-
- pref("font.name.serif.x-central-euro", "Times CE");
- pref("font.name.sans-serif.x-central-euro", "Helvetica CE");
- pref("font.name.monospace.x-central-euro", "Courier CE");
- pref("font.name.cursive.x-central-euro", "XXX.cursive");
- pref("font.name.fantasy.x-central-euro", "XXX.fantasy");
-
- pref("font.name.serif.x-cyrillic", "Latinski");
- pref("font.name.sans-serif.x-cyrillic", "Pryamoy Prop");
- pref("font.name.monospace.x-cyrillic", "APC Courier");
- pref("font.name.cursive.x-cyrillic", "XXX.cursive");
- pref("font.name.fantasy.x-cyrillic", "XXX.fantasy");
-
- pref("font.name.serif.x-unicode", "Times");
- pref("font.name.sans-serif.x-unicode", "Helvetica");
- pref("font.name.monospace.x-unicode", "Courier");
- pref("font.name.cursive.x-unicode", "Apple Chancery");
- pref("font.name.fantasy.x-unicode", "Gadget");
-
- pref("font.name.serif.x-western", "Times");
- pref("font.name.sans-serif.x-western", "Helvetica");
- pref("font.name.monospace.x-western", "Courier");
- pref("font.name.cursive.x-western", "Apple Chancery");
- pref("font.name.fantasy.x-western", "Gadget");
-
- pref("font.name.serif.zh-CN", "Song");
- pref("font.name.sans-serif.zh-CN", "Hei");
- pref("font.name.monospace.zh-CN", "Hei");
- pref("font.name.cursive.zh-CN", "XXX.cursive");
- pref("font.name.fantasy.zh-CN", "XXX.fantasy");
-
- pref("font.name.serif.zh-TW", "Apple LiSung Light");
- pref("font.name.sans-serif.zh-TW", "Apple LiGothic Medium");
- pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");
- pref("font.name.cursive.zh-TW", "XXX.cursive");
- pref("font.name.fantasy.zh-TW", "XXX.fantasy");
-
- // Override the Windows settings: no menu key, meta accelerator key.
- pref("ui.key.menuAccessKey", 0);
- pref("ui.key.accelKey", 224);
-
- mime_type("mime.image_gif", "image/gif", "gif", 2, "JPEGView", "JVWR", "GIFf");
- mime_type("mime.image_jpeg", "image/jpeg", "jpg,jpeg,jpe", 2, "JPEGView", "JVWR", "JPEG");
- mime_type("mime.image_pict", "image/pict", "pic,pict", 1, "SimpleText", "ttxt", "PICT");
- mime_type("mime.image_tiff", "image/tiff", "tif,tiff", 1, "JPEGView", "JVWR", "TIFF");
- mime_type("mime.image_x_xbitmap", "image/x-xbitmap", "xbm", 2, "Unknown", "ttxt", "????");
-
- mime_type("mime.audio_basic", "audio/basic", "au,snd", 1, "Sound Machine", "SNDM", "ULAW");
- mime_type("mime.audio_aiff", "audio/aiff", "aiff,aif", 1, "Sound Machine", "SNDM", "AIFF");
- mime_type("mime.audio_x_wav", "audio/x-wav", "wav", 1, "Sound Machine", "SNDM", "WAVE");
-
- mime_type("mime.video_quicktime", "video/quicktime", "qt,mov", 1, "Simple Player", "TVOD", "MooV");
- mime_type("mime.video_mpeg", "video/mpeg", "mpg,mpeg,mpe", 1, "Sparkle", "mMPG", "MPEG");
- mime_type("mime.video_x_msvideo", "video/x-msvideo", "avi", 1, "AVI to QT Utility", "AVIC", "????");
- mime_type("mime.video_x_qtc", "video/x-qtc", "qtc", 1, "Conferencing Helper Application", "mtwh", ".qtc");
-
- mime_type("mime.application_mac_binhex40", "application/mac-binhex40", "hqx", 1, "Stuffit Expander", "SITx", "TEXT");
- mime_type("mime.application_x_stuffit", "application/x-stuffit", "sit", 1, "Stuffit Expander", "SITx", "SITD");
- mime_type("mime.application_x_macbinary", "application/x-macbinary", "bin", 1, "Stuffit Expander", "SITx", "TEXT");
- mime_type("mime.application_x_conference", "application/x-conference", "nsc", 1, "Netscape Conference", "Ncqπ", "TEXT");
-
- mime_type("mime.application_zip", "application/zip", "z,zip", 1, "ZipIt", "ZIP ", "ZIP ");
- mime_type("mime.application_gzip", "application/gzip", "gz", 1, "MacGzip", "Gzip", "Gzip");
- mime_type("mime.application_msword", "application/msword", "doc", 0, "MS Word", "MSWD", "W6BN");
- mime_type("mime.application_x_excel", "application/x-excel", "xls", 0, "MS Excel", "XCEL", "XLS5");
-
- mime_type("mime.application_octet_stream", "application/octet-stream", "exe", 3, "", "", "");
- mime_type("mime.application_postscript", "application/postscript", "ai,eps,ps", 3, "SimpleText", "ttxt", "TEXT");
- mime_type("mime.application_rtf", "application/rtf", "rtf", 0, "MS Word", "MSWD", "TEXT");
- mime_type("mime.application_x_compressed", "application/x-compressed", ".Z", 1, "MacCompress", "LZIV", "ZIVM");
- mime_type("mime.application_x_tar", "application/x-tar", "tar", 1, "tar", "TAR ", "TARF");
-
- mime_type("mime.Netscape_Source", "Netscape/Source", "", 2, "SimpleText", "ttxt", "TEXT");
- pref("mime.Netscape_Source.description", "View Source");
- mime_type("mime.Netscape_Telnet", "Netscape/Telnet", "", 1, "NCSA Telnet", "NCSA", "CONF");
- mime_type("mime.Netscape_tn3270", "Netscape/tn3270", "", 1, "tn3270", "GFTM", "GFTS");
-
- mime_type("mime.image_x_cmu_raster", "image/x-cmu-raster", "ras", 3, "Unknown", "ttxt", "????");
- mime_type("mime.image_x_portable_anymap", "image/x-portable-anymap", "pnm", 3, "Unknown", "ttxt", "????");
- mime_type("mime.image_x_portable_bitmap", "image/x-portable-bitmap", "pbm", 3, "Unknown", "ttxt", "????");
- mime_type("mime.image_x_portable_graymap", "image/x-portable-graymap", "pgm", 3, "Unknown", "ttxt", "????");
- mime_type("mime.image_x_rgb", "image/x-rgb", "rgb", 3, "Unknown", "ttxt", "????");
- mime_type("mime.image_x_xpixmap", "image/x-xpixmap", "xpm", 2, "Unknown", "ttxt", "????");
-
- // Add mime type for SimpleText read only files
- mime_type("mime.SimpleText_ReadOnly", "text/plain", "", 2, "SimpleText", "ttxt", "ttro");
-